package com.jumi.microservice.constant.afterseal;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author new
 * @date 2020/9/25
 */
public enum AfterSealOrderStatusEnum implements AbstractEnum {
    //订单状态 0-已取消 1-待付款 2-待发货 3-待收货 4-已完成
    ORDRE_STATUS_CANCEL(0, "已取消"),
    ORDRE_STATUS_WAIT_PAY(1, "待付款"),
    ORDRE_STATUS_SHIP(2, "待发货"),
    ORDRE_STATUS_RECEIVE(3, "待收货"),
    ORDRE_STATUS_COMPLETED(4, "已完成");

    private Integer code;
    private String desc;

    AfterSealOrderStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}